package com.qinghuan.reflection.model;

import com.qinghuan.reflection.service.Move;
import com.qinghuan.reflection.service.Study;

/**
 * @Auther: qinghuan
 * @Date: 2022/3/15 19:49
 * @Description:
 */
public class Student extends People implements Study, Move {

    public String age;
    private String score;

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public Student() {
        System.out.println("无参构造方法");
    }

    public Student(String age) {
        this.age = age;
    }

    private Student(String name, String age) {
        this.setName(name);
        this.age = age;
    }

    private String test(String name) {

        System.out.println("得到的返回值是：" + name);

        return "返回值返回的方法";
    }

    @Override
    public void moveType() {

    }

    @Override
    public void studyInfo() {

    }
}
